//
//  JWTAboutJWTCell.m
//  JWT
//
//  Created by ndm on 17/2/11.
//  Copyright © 2017年 com.jwtsoft. All rights reserved.
//

#import "JWTAboutJWTCell.h"
#import "Masonry.h"

@implementation JWTAboutJWTCell
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        _leftNameLabel = [[UILabel alloc] initWithFrame:CGRectMake(2*Cell_Margin, 0, UISCREEN_WIDTH*0.4, 44)];
        _leftNameLabel.font = Text_Font14;
        _leftNameLabel.textColor = RGB_LightGray;
        [self addSubview:_leftNameLabel];
        
        _rightContentLabel = [[UILabel alloc] initWithFrame:CGRectMake(_leftNameLabel.right, _leftNameLabel.top, UISCREEN_WIDTH*0.5, 44)];
        _rightContentLabel.font = Text_Font13;
        _rightContentLabel.textColor = RGB_DarkGray;
        _rightContentLabel.textAlignment = NSTextAlignmentRight;
        [self addSubview:_rightContentLabel];
        
        self.frame = CGRectMake(self.left, self.top, UISCREEN_WIDTH, 44);
        
        WS(weakSelf);
        [_rightContentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.right.mas_equalTo(weakSelf).offset(-30);
            make.centerY.mas_equalTo(weakSelf);
        }];
        
    }
    return self;
}
@end
